export const getApiConfig = (config = {}, key = '') =>
  (window.appConfig && window.appConfig[key]) || config[key] || ''
